package com.hzlx.badGoods.feign;

import com.hzlx.MesFinishedGoodsInventoryDto;
import com.hzlx.ResultDto;
import com.hzlx.badGoods.feign.fallback.productionServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "materialService",
        value = "material-service")
public interface MaterialService {
    @PostMapping("/inventory/add/badGoods")
    public ResultDto<String> addBadGoods(@RequestBody MesFinishedGoodsInventoryDto mesFinishedGoodsInventoryDto);
}
